<template>
	<view>
		<view class="timeBg">
			<view class="itemTimeV" v-for="(item,key) in dataList" :key="key">
				<view :class="key==dataListPos?'timeTv':'timeTvTo'">{{item.day}}</view>
				<view :class="key==dataListPos?'dayTv':'dayTvTo'" @click="onSelectTimeClick(item,key)">{{item.week}}
				</view>
			</view>
		</view>
		<view v-if="contentList.length>0" class="contentV" v-for="(item,key) in contentList" :key="key">
			<view class="titleV">
				<view class="leftV">
					<view class="leftTv1">{{item.name}}</view>
					<view class="leftTv2">{{item.distance}}</view>
				</view>
				<view class="rightV" @click="onMapClick(item)">查看地图
					<u-icon name="arrow-right" color="#BCBBBC" size="13"></u-icon>
				</view>
			</view>
			<view class="typeBg">
				<view class="typeItemBg" v-for="(data,index) in item.course_list" :key="index"
					@click="onItemClick(data)">
					<image class="typeIv" :src="data.image" mode="aspectFill"> </image>
					<view class="typeRightV">
						<view class="typeTitleTv">{{data.title}}</view>
						<view class="typeBottomV">
							<view class="centerV">
								<view class="timeMoney">
									<view class="timeTv">{{data.time}}</view>
									<view class="moneyTv">¥{{data.price}}</view>
								</view>
								<text class="labelTv" v-for="(txt,pos) in data.target">{{txt}}</text>
							</view>
							<view v-if="data.is_yuyue!=1" class="typeBookingTv">预约</view>
							<view v-if="data.is_yuyue==1" class="typeBookingTvTo">已预约</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view v-if="contentList.length==0"
			style="justify-content: center; align-items: center; display: flex; height: 50vh; color: #8D8D8D;">
			暂无数据
		</view>

		<uni-popup ref="popup" type="bottom" background-color="#1F1F1F">
			<view class="popupBg">
				<view class="topV">
					<view class="titleV">
						<view @tap="onSelectClick(1)" :class="screeningPos==1?'tv1':'tv1To'">课程</view>
						<view @tap="onSelectClick(2)" :class="screeningPos==2?'tv2':'tv2To'">门店</view>
						<view class="tv3"></view>
						<image @tap="onClseClick" class="iv" src="../../static/public/colse.svg"></image>
					</view>
					<view v-if="screeningPos==1" class="kechengV">
						<view class="leftKCV">
							<scroll-view scroll-y="true" class="leftKCVSRL" show-scrollbar="true">
								<view class="leftKCVtV1">训练目标</view>
								<view v-for="(data,index) in screeningKList.target_list" :key="index"
									:class="data.select?'leftKCVtV2To':'leftKCVtV2'" @tap="onSelectTypeClick(data)">
									{{data.name}}
								</view>
								<view class="leftKCVtV3">课程类型</view>
								<view v-for="(dataType,indexType) in screeningKList.type_list" :key="indexType"
									:class="dataType.select?'leftKCVtV2To':'leftKCVtV2'"
									@tap="onSelectTypeClick(dataType)">{{dataType.name}}</view>
							</scroll-view>
						</view>
						<view class="rightKCV">
							<view class="rightKCVTv1">选择课程(可多选)</view>
							<view style="height: 610rpx;">
								<scroll-view style="margin-bottom: 98rpx; height: 100%;" scroll-y="true"
									show-scrollbar="true">
									<view v-for="(data,index) in screeningKData" :key="index"
										:class="data.select?'rightKCVTv2To':'rightKCVTv2'" @tap="onSelectKeClick(data)">
										{{data.title}}
									</view>
								</scroll-view>
							</view>
						</view>
					</view>
					<view v-if="screeningPos==2" class="mendian">
						<view class="dianLeftV">
							<view class="dianLeftTv1">地区</view>
							<view style="height: 610rpx;">
								<scroll-view style="margin-bottom: 98rpx; height: 100%;" scroll-y="true"
									show-scrollbar="true">
									<view v-for="(data,index) in screeningKList.city_list" :key="index"
										:class="data.select?'dianLeftTv2To':'dianLeftTv2'"
										@tap="onSelectCityClick(data)">
										{{data.name}}
									</view>
								</scroll-view>
							</view>
						</view>
						<view class="dianRightV">
							<view class="dianRightTv1">选择门店(可多选)</view>
							<view style="height: 610rpx;">
								<scroll-view style="margin-bottom: 98rpx; height: 100%;" scroll-y="true"
									show-scrollbar="true">
									<view v-for="(data,index) in mendianList" :key="index"
										:class="data.select?'dianRightTv2To':'dianRightTv2'"
										@tap="onSelectMenDianClick(data)">
										{{data.name}}
									</view>
								</scroll-view>
							</view>
						</view>
					</view>
				</view>
				<view class="bottomV">
					<view class="bt1" @tap="onResetClick">重置</view>
					<view class="bt2" @tap="onConfirmClick">确认</view>
				</view>
			</view>
		</uni-popup>
	</view>
</template>

<script>
	export default {
		name: "group",
		data() {
			return {
				dataListPos: 0,
				dataList: [], //时间数组
				contentList: [],
				screeningPos: 1, //筛选 1课程 2门店
				screeningKList: null, //筛选课程
				selectTarget: [], //选择的训练目标
				selectType: [], //选择的课程类型
				screeningKData: [], //课程数据
				mendianList: [], //门店列表
				mDay: "", //时间
				mubiao: [], //目标
				leixing: [], //类型
				kecheng: [], //课程
				chengshi: [], //城市区域
				mendian: [], //门店
			};
		},
		created() {

			this.getEducationList();
			let that = this;
			uni.$on('Screening', function(data) {
				if (that.screeningKList == null) {
					that.getScreening()
					that.getScreeningKe()
					that.getShopList("")
				} else {

					that.screeningKList.target_list.map((item, index) => {
						item.select = false;
						that.mubiao.map((itemTo) => {
							if (item.id == itemTo) {
								item.select = true;
							}
						})
						return item;
					});
					that.screeningKList.type_list.map((item, index) => {
						item.select = false;
						that.leixing.map((itemTo) => {
							if (item.id == itemTo) {
								item.select = true;
							}
						})
						return item;
					});
					that.screeningKList.city_list.map((item, index) => {
						item.select = false;
						that.chengshi.map((itemTo) => {
							if (item.id == itemTo) {
								item.select = true;
							}
						})
						return item;
					});
					that.screeningKData.map((item, index) => {
						item.select = false;
						that.kecheng.map((itemTo) => {
							if (item.id == itemTo) {
								item.select = true;
							}
						})
						return item;
					});

					that.mendianList.map((item, index) => {
						item.select = false;
						that.mendian.map((itemTo) => {

							if (item.id == itemTo) {
								item.select = true;
							}
						})
						return item;
					});
					that.$refs.popup.open()
				}
			});
			uni.$on('ScreeningShaiXuan', function(data) {
				console.log("------", data)
				that.getScreeningKe(data.id)
			})
		},
		destroyed() {
			uni.$off('Screening')
			uni.$off('ScreeningShaiXuan')
		},
		methods: {
			onSelectTimeClick(item, key) {
				this.dataListPos = key;
				this.mDay = item.day;
				this.getEducationList();
			},
			getEducationList() { //获取数据

				let kechengs = [];
				this.kecheng.map((item, index) => {
					if (item != 0) {
						kechengs.push(item)
					}
				});

				let mendians = [];
				this.mendian.map((item, index) => {
					if (item != 0) {
						mendians.push(item)
					}
				});

				this.$api.getEducationList({
					longitude: uni.getStorageSync("user_longitude"),
					latitude: uni.getStorageSync("user_latitude"),
					combo_ids: kechengs.join(","),
					day: this.mDay,
					shop_ids: mendians.join(",")
				}).then((res) => {
					this.dataList = res.day7;
					this.contentList = res.list;

					if (this.mDay.length == 0 && this.dataList.length > 0) {
						this.mDay = this.dataList[0].day;
						this.getEducationList();
					}
				}).catch((e) => {})
			},
			onItemClick(item) {
				this.$u.route({
					url: '/pages/schedule/GroupDetails',
					params: {
						id: item.id,
					}
				})
			},
			getScreening() { //获取筛选数据
				this.$api.getScreening({

				}).then((res) => {
					res.target_list.map((item, index) => {
						item.select = false
						return item
					});
					res.type_list.map((item, index) => {
						item.select = false
						return item
					});
					let data2 = {
						id: 0,
						name: "全城",
						select: true
					}
					let citys = []
					citys.push(data2)
					res.city_list.map((item, index) => {
						item.select = false
						return item
					});
					citys.push(...res.city_list)
					res.city_list = citys
					this.screeningKList = res
					this.$refs.popup.open()
				}).catch((e) => {})
			},
			getScreeningKe(id) { //获取筛选课程
				this.$api.getScreeningKe({
					target_ids: this.selectTarget.join(","),
					type_ids: this.selectType.join(",")
				}).then((res) => {
					res.data.map((item, index) => {
						item.select = false
						return item
					});
					let data = {
						id: 0,
						title: "全部",
						select: true
					}

					this.kecheng.push(data.id);
					this.screeningKData = [];
					this.screeningKData.push(data);
					this.screeningKData.push(...res.data);

					if (id != null && id != undefined && id!="") {
						this.screeningKData.map((item, index) => {
							if (item.id == id) {
								data.select = false;
								item.select = true;
								this.kecheng = [];
								this.kecheng.push(item.id);
								this.getEducationList();
							}
						});
					}
				}).catch((e) => {})
			},
			onSelectTypeClick(item) { //选择类型和目标
				let isSele = item.select;
				item.select = !isSele;

				this.selectTarget = [];
				this.selectType = [];

				this.screeningKList.target_list.map((item, index) => {
					if (item.select) {
						this.selectTarget.push(item.id)
					}
				});
				this.screeningKList.type_list.map((item, index) => {
					if (item.select) {
						this.selectType.push(item.id)
					}
				});

				if (this.selectTarget.length > 0 || this.selectType.length > 0) {
					this.getScreeningKe()
				} else {
					this.getScreeningKe()
				}
			},
			onSelectKeClick(item) { //选择课程
				if (item.id == 0) { //点击了全部
					this.screeningKData.map((items, index) => {
						items.select = false;
					});
					let isSele = item.select;
					item.select = !isSele;
				} else {
					this.screeningKData.map((items, index) => {
						if (items.id == 0) {
							items.select = false;
						}
					});

					let isSele = item.select;
					item.select = !isSele;
				}

			},
			onSelectCityClick(item) { //选择地区
				if (item.id == 0) { //点击了全部
					this.screeningKList.city_list.map((items, index) => {
						items.select = false;
					});
					let isSele = item.select;
					item.select = !isSele;
				} else {
					this.screeningKList.city_list.map((items, index) => {
						if (items.id == 0) {
							items.select = false;
						}
					});

					let isSele = item.select;
					item.select = !isSele;
				}

				let cityS = [];
				this.screeningKList.city_list.map((items, index) => {
					if (items.select && items.id != 0) {
						cityS.push(items.id)
					}
				});
				this.getShopList(cityS.join(","));
			},
			onSelectMenDianClick(item) { //选择门店
				if (item.id == 0) { //点击了全部
					this.mendianList.map((items, index) => {
						items.select = false;
					});
					let isSele = item.select;
					item.select = !isSele;
				} else {
					this.mendianList.map((items, index) => {
						if (items.id == 0) {
							items.select = false;
						}
					});

					let isSele = item.select;
					item.select = !isSele;
				}
			},
			getShopList(city) { //获取门店列表
				this.$api.getShopList({
					city_code: city,
				}).then((res) => {
					res.data.map((item, index) => {
						item.select = false
						return item
					});
					let data = {
						id: 0,
						name: "全部",
						select: true
					}
					this.mendian.push(0);
					this.mendianList = []
					this.mendianList.push(data)
					this.mendianList.push(...res.data)
				}).catch((e) => {})
			},
			onClseClick() {
				this.$refs.popup.close()
			},
			onSelectClick(e) {
				this.screeningPos = e;
			},
			onResetClick() { //重置
				this.screeningKList.target_list.map((item, index) => {
					item.select = false
					return item
				});
				this.screeningKList.type_list.map((item, index) => {
					item.select = false
					return item
				});
				this.screeningKList.city_list.map((item, index) => {
					item.select = false
					return item
				});

				this.kecheng = [];
				this.screeningKData.map((items, index) => {
					if (items.id == 0) {
						this.kecheng.push(items.id)
						items.select = true;
					} else {
						items.select = false;
					}
				});
				this.mendian = [];
				this.mendianList.map((items, index) => {
					if (items.id == 0) {
						this.mendian.push(items.id)
						items.select = true;
					} else {
						items.select = false;
					}
				});

				this.mubiao = [];
				this.leixing = [];
				this.chengshi = [];

				this.$refs.popup.close()
				this.getEducationList();
			},
			onConfirmClick() { //确认
				this.mubiao = [];
				this.leixing = [];
				this.kecheng = [];
				this.chengshi = [];
				this.mendian = [];
				this.screeningKList.target_list.map((item, index) => {
					if (item.select) {
						this.mubiao.push(item.id);
					}
				});
				this.screeningKList.type_list.map((item, index) => {
					if (item.select) {
						this.leixing.push(item.id);
					}
				});
				this.screeningKList.city_list.map((item, index) => {
					if (item.select) {
						this.chengshi.push(item.id);
					}
				});

				this.screeningKData.map((item, index) => {
					if (item.select) {
						this.kecheng.push(item.id);
					}
				});
				this.mendianList.map((item, index) => {
					if (item.select) {
						this.mendian.push(item.id);
					}
				});

				this.$refs.popup.close()
				this.getEducationList();
			},
			onMapClick(item) {
				uni.authorize({
					scope: 'scope.userLocation',
					success() {
						uni.openLocation({
							longitude: parseFloat(item.longitude),
							latitude: parseFloat(item.latitude),
							name: item.shop_name, //位置名
							address: "", //详细地址
							success: function(res) {
								console.log('位置名称：' + res.name);
								console.log('详细地址：' + res.address);
								console.log('纬度：' + res.latitude);
								console.log('经度：' + res.longitude);
							},
							fail(res) {
								console.log("=====" + JSON.stringify(res))
							}
						});
					},
					fail() {
						uni.showModal({
							title: '未打开小程序定位',
							content: '找不到您的位置，请开启定位',
							confirmText: '开启定位',
							showCancel: false,
							success: (res) => {
								if (res.confirm) {
									uni.openSetting(); // 打开地图权限设置
								}
							}
						});
					}
				})
			},
		}
	}
</script>

<style lang="scss">
	.timeBg {
		height: 150rpx;
		display: flex;

		.itemTimeV {
			flex: 1;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;

			.timeTv {
				font-size: 24rpx;
				color: #E9E9E9;
			}

			.timeTvTo {
				font-size: 24rpx;
				color: #939393;
			}

			.dayTv {
				width: 50rpx;
				height: 50rpx;
				border: 2px solid #E6A5B4;
				border-radius: 50%;
				font-size: 24rpx;
				color: #E6A5B4;
				display: flex;
				align-items: center;
				justify-content: center;
				margin-top: 20rpx;
			}

			.dayTvTo {
				width: 50rpx;
				height: 50rpx;
				border: 2px solid #E6A5B4;
				background-color: #E6A5B4;
				border-radius: 50%;
				font-size: 24rpx;
				color: #FFFFFF;
				display: flex;
				align-items: center;
				justify-content: center;
				margin-top: 20rpx;
			}
		}
	}

	.contentV {
		margin-top: 30rpx;

		.titleV {
			display: flex;
			padding-left: 30rpx;
			padding-right: 30rpx;
			align-items: center;
			justify-content: space-between;

			.leftV {
				display: flex;
				align-items: center;
				justify-content: center;

				.leftTv1 {
					color: #E8E8E8;
					font-size: 32rpx;
				}

				.leftTv2 {
					font-size: 28rpx;
					color: #8D8D8D;
					margin-left: 30rpx;
				}
			}

			.rightV {
				display: flex;
				font-size: 28rpx;
				color: #8D8D8D;
			}
		}
	}

	.typeBg {
		background: #1F1F1F;
		border-radius: 10rpx;
		margin-left: 30rpx;
		margin-right: 30rpx;
		margin-top: 10rpx;

		.typeItemBg {
			height: 198rpx;
			padding-left: 30rpx;
			padding-right: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;

			.typeIv {
				width: 120rpx;
				height: 120rpx;
				border-radius: 50%;
				background-color: #E6A5B4;
			}

			.typeRightV {
				flex: 1;
				margin-left: 20rpx;

				.typeTitleTv {
					font-size: 32rpx;
					color: #E8E8E8;
				}

				.typeBottomV {
					display: flex;
					align-items: center;
					justify-content: center;

					.centerV {
						flex: 1;

						.timeMoney {
							display: flex;

							.timeTv {
								color: #E6A5B4;
								font-size: 28rpx;
							}

							.moneyTv {
								color: #858585;
								font-size: 28rpx;
								margin-left: 30rpx;
							}
						}

						.labelTv {
							background: #4A4A4A;
							border-radius: 10rpx 0rpx 10rpx 0rpx;
							color: #9B9B9B;
							font-size: 22rpx;
							padding-left: 18rpx;
							padding-right: 18rpx;
							padding-top: 1rpx;
							padding-bottom: 1rpx;
							box-sizing: border-box;
							margin-right: 10rpx;
						}
					}

					.typeBookingTv {
						width: 130rpx;
						height: 60rpx;
						background: #E6A5B4;
						border-radius: 10rpx;
						color: #333;
						font-size: 28rpx;
						display: flex;
						align-items: center;
						justify-content: center;
					}

					.typeBookingTvTo {
						width: 130rpx;
						height: 60rpx;
						background: #00000000;
						border-radius: 10rpx;
						border: 1rpx solid #939393;
						color: #939393;
						font-size: 28rpx;
						display: flex;
						align-items: center;
						justify-content: center;
					}
				}
			}
		}
	}

	.popupBg {
		height: 900rpx;

		.topV {
			height: 802rpx;

			.titleV {
				display: flex;
				margin-top: 30rpx;
				margin-left: 30rpx;
				margin-right: 30rpx;

				.tv1 {
					color: #CEF743;
					font-size: 32rpx;
					padding-bottom: 15rpx;
					box-sizing: border-box;
					border-bottom: 5rpx solid #CEF743;
					margin-right: 30rpx;
				}

				.tv1To {
					color: #8D8D8D;
					font-size: 32rpx;
					padding-bottom: 15rpx;
					box-sizing: border-box;
					border-bottom: 5rpx solid #00000000;
					margin-right: 30rpx;
				}

				.tv2 {
					color: #CEF743;
					font-size: 32rpx;
					padding-bottom: 15rpx;
					box-sizing: border-box;
					border-bottom: 5rpx solid #CEF743;
				}

				.tv2To {
					color: #8D8D8D;
					font-size: 32rpx;
					padding-bottom: 15rpx;
					box-sizing: border-box;
					border-bottom: 5rpx solid #00000000;
				}

				.tv3 {
					flex: 1;
				}

				.iv {
					width: 42rpx;
					height: 42rpx;
				}
			}

			.kechengV {
				display: flex;
				height: 725rpx;
				margin-top: 10rpx;
				box-sizing: border-box;

				.leftKCV {
					flex: 3;

					.leftKCVSRL {
						height: 100%;
						margin-bottom: 98rpx;

						.leftKCVtV1 {
							display: flex;
							align-items: center;
							justify-content: center;
							color: #fff;
							font-size: 32rpx;
							padding-top: 30rpx;
							padding-bottom: 30rpx;
							box-sizing: border-box;
						}

						.leftKCVtV2 {
							margin-left: 30rpx;
							margin-right: 30rpx;
							height: 60rpx;
							background: #3D3F3E;
							border-radius: 10rpx;
							margin-bottom: 20rpx;
							display: flex;
							align-items: center;
							justify-content: center;
							font-size: 28rpx;
							color: #939393;
							border: 1rpx solid #00000000;
						}

						.leftKCVtV2To {
							margin-left: 30rpx;
							margin-right: 30rpx;
							height: 60rpx;
							background: rgba(206, 247, 67, 0.2);
							border-radius: 10rpx;
							margin-bottom: 20rpx;
							display: flex;
							align-items: center;
							justify-content: center;
							font-size: 28rpx;
							color: #CEF743;
							border: 1rpx solid #CEF743;
						}

						.leftKCVtV3 {
							display: flex;
							align-items: center;
							justify-content: center;
							color: #fff;
							font-size: 32rpx;
							padding-top: 20rpx;
							padding-bottom: 30rpx;
							box-sizing: border-box;
						}
					}
				}

				.rightKCV {
					flex: 7;

					.rightKCVTv1 {
						display: flex;
						align-items: center;
						justify-content: center;
						color: #fff;
						font-size: 32rpx;
						padding-top: 30rpx;
						padding-bottom: 30rpx;
						box-sizing: border-box;
					}

					.rightKCVTv2 {
						margin-left: 30rpx;
						margin-right: 30rpx;
						height: 60rpx;
						background: #3D3F3E;
						border-radius: 10rpx;
						margin-bottom: 20rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 28rpx;
						color: #939393;
						border: 1rpx solid #00000000;
					}

					.rightKCVTv2To {
						margin-left: 30rpx;
						margin-right: 30rpx;
						height: 60rpx;
						background: rgba(206, 247, 67, 0.2);
						border-radius: 10rpx;
						margin-bottom: 20rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 28rpx;
						color: #CEF743;
						border: 1rpx solid #CEF743;
					}
				}
			}

			.mendian {
				display: flex;
				height: 725rpx;
				margin-top: 10rpx;
				box-sizing: border-box;

				.dianLeftV {
					flex: 3;
					height: 725rpx;

					.dianLeftTv1 {
						display: flex;
						align-items: center;
						justify-content: center;
						color: #fff;
						font-size: 32rpx;
						padding-top: 30rpx;
						padding-bottom: 30rpx;
						box-sizing: border-box;
					}

					.dianLeftTv2 {
						margin-left: 30rpx;
						margin-right: 30rpx;
						height: 60rpx;
						background: #3D3F3E;
						border-radius: 10rpx;
						margin-bottom: 20rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 28rpx;
						color: #939393;
						border: 1rpx solid #00000000;
						overflow: hidden;
						/*溢出的部分隐藏*/
						white-space: nowrap;
						/*文本不换行*/
						text-overflow: ellipsis;
					}

					.dianLeftTv2To {
						margin-left: 30rpx;
						margin-right: 30rpx;
						height: 60rpx;
						background: rgba(206, 247, 67, 0.2);
						border-radius: 10rpx;
						margin-bottom: 20rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 28rpx;
						color: #CEF743;
						border: 1rpx solid #CEF743;
						overflow: hidden;
						/*溢出的部分隐藏*/
						white-space: nowrap;
						/*文本不换行*/
						text-overflow: ellipsis;
					}


				}

				.dianRightV {
					flex: 7;

					.dianRightTv1 {
						display: flex;
						align-items: center;
						justify-content: center;
						color: #fff;
						font-size: 32rpx;
						padding-top: 30rpx;
						padding-bottom: 30rpx;
						box-sizing: border-box;
					}

					.dianRightTv2 {
						margin-left: 30rpx;
						margin-right: 30rpx;
						height: 60rpx;
						background: #3D3F3E;
						border-radius: 10rpx;
						margin-bottom: 20rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 28rpx;
						color: #939393;
						border: 1rpx solid #00000000;
					}

					.dianRightTv2To {
						margin-left: 30rpx;
						margin-right: 30rpx;
						height: 60rpx;
						background: rgba(206, 247, 67, 0.2);
						border-radius: 10rpx;
						margin-bottom: 20rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 28rpx;
						color: #CEF743;
						border: 1rpx solid #CEF743;
					}


				}
			}
		}

		.bottomV {
			display: flex;
			height: 98rpx;

			.bt1 {
				display: flex;
				align-items: center;
				justify-content: center;
				flex: 1;
				background: #3D3F3E;
				color: #939393;
				font-size: 32rpx;
			}

			.bt2 {
				display: flex;
				align-items: center;
				justify-content: center;
				flex: 1;
				background: #CEF743;
				color: #333333;
				font-size: 32rpx;
			}
		}
	}

	// 滚动条样式
	/deep/ ::-webkit-scrollbar {
		/*滚动条整体样式*/
		width: 4px !important;
		height: 1px !important;
		overflow: auto !important;
		background: #ccc !important;
		-webkit-appearance: auto !important;
		display: block;
	}

	/deep/ ::-webkit-scrollbar-thumb {
		/*滚动条里面小方块*/
		border-radius: 10px !important;
		box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
		background: #7b7979 !important;
	}

	/deep/ ::-webkit-scrollbar-track {
		/*滚动条里面轨道*/
		// box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
		// border-radius: 10px !important;
		background: #3D3F3E !important;
	}
</style>
